<template>
  <view class="address-container">
    <view class="address-list">
      <view class="empty-tip">暂无收货地址</view>
    </view>
    
    <view class="add-btn">
      <button type="primary" @click="addAddress">新增收货地址</button>
    </view>
  </view>
</template>

<script>
export default {
  data() {
    return {
      addressList: []
    }
  },
  methods: {
    addAddress() {
      // 调用地址选择器
      uni.chooseAddress({
        success: (res) => {
          console.log(res)
        }
      })
    }
  }
}
</script>

<style lang="scss">
.address-container {
  min-height: 100vh;
  background: #f5f5f5;
  padding-bottom: 120rpx;
  
  .empty-tip {
    text-align: center;
    color: #999;
    padding: 100rpx 0;
  }
  
  .add-btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20rpx;
    background: #fff;
    
    button {
      background: #ff4444;
    }
  }
}
</style> 